Skip to content

Harden compiler exception compatibility helpers#7

Merged
Gabriel-Darbord merged 1 commit into
mainfrom
codex/compiler-exception-helper-contract
Jun 26, 2026
Merged

Harden compiler exception compatibility helpers#7
Gabriel-Darbord merged 1 commit into
mainfrom
codex/compiler-exception-helper-contract

Conversation

@Gabriel-Darbord

Copy link
Copy Markdown
Member

Summary

  • route compiler exception helper behavior through dispatch hooks on version-specific compiler exception classes
  • return nil for ordinary exceptions that do not carry compiler metadata
  • add a shared Pharo 13 surface contract test covering ordinary exceptions

Verification

  • Pharo 12: PharoCompatibilityP13SurfacePharo12Test, 8 passed
  • Pharo 13: PharoCompatibilityP13SurfacePharo13Test, 4 passed
  • Pharo 14: PharoCompatibilityP13SurfacePharo14Test, 10 passed

Route compiler exception helper behavior through version-specific dispatch hooks and return nil for ordinary exceptions that do not carry compiler metadata.

Co-authored-by: Codex <codex@openai.com>
@Gabriel-Darbord Gabriel-Darbord merged commit a2dd59a into main Jun 26, 2026
3 checks passed
@Gabriel-Darbord Gabriel-Darbord deleted the codex/compiler-exception-helper-contract branch June 26, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant